<template>
    <div>
        <img src="./assets/logo.png" alt="logo">
        <!-- 编写组件标签 -->
        <School></School>
        <Student></Student>
    </div>
</template>

<script>
    //引入组件。语法：import 组件名 from '组件的路径'
    import School from './components/School.vue'
    import Student from './components/Student.vue'

    //暴露App(父)组件
    export default {
        name: 'App',
        //注册子组件
        components:{
            School,
            Student
        }
    }
</script>